package com.cntaiping.royal.bass.system.activiti;

import org.activiti.spring.boot.AbstractProcessEngineAutoConfiguration;
import org.springframework.context.annotation.Configuration;

/**
 * @author jiangwei
 * @since 19/1/8
 */
@Configuration
public class ActivitiConfig extends AbstractProcessEngineAutoConfiguration {

//    //注入数据源和事务管理器
//    @Bean
//    public SpringProcessEngineConfiguration springProcessEngineConfiguration(
//            @Qualifier("dataSource") DataSource dataSource,
//            @Qualifier("transactionManager") PlatformTransactionManager transactionManager,
//            SpringAsyncExecutor springAsyncExecutor) throws IOException {
//        return this.baseSpringProcessEngineConfiguration(dataSource, transactionManager, springAsyncExecutor);
//    }

}
